﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using UnityEngine;
using Utility;
using System.Linq;
using FairyGUI;
using Utility.DataSystem;

namespace DataSystem
{
	public class GameSettingObject : SettingScriptableObject<GameSetting>
	{
		//map
		public int mapRadius = 50;//square shape
		public int mapRandomTilegroupMaxCount = 20;
		public int mapVisualRange = 4;//square shape
		public int mapEliteDelay = 3;
	}

	public class GameSetting : Setting<GameSettingObject>
	{
		//map
		public int MapRadius => SettingObject.mapRadius;
		public int MapRandomTilegroupMaxCount => SettingObject.mapRandomTilegroupMaxCount;
		public int MapVisualRange => SettingObject.mapVisualRange;
		public int MapEliteDelay => SettingObject.mapEliteDelay;
	}
}